﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/FrameMain.Master" AutoEventWireup="true" CodeBehind="RoomTableDetailList.aspx.cs" Inherits="FortuneHeaven.Admin.Pages.GameManager.RoomTableDetailList" %>
<%@ Register TagPrefix="uc1" TagName="Pagination" Src="~/Controls/Pagination.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link type="text/css" rel="Stylesheet" href="../../Content/CSS/newsdetail.css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="toolbar">
        
    </div>
    
    <div id="head">
        <div class="left">
            <asp:Label ID="lblDeptName" runat="server" Font-Bold="true"></asp:Label>
            <asp:Label ID="lblStatistic" runat="server"></asp:Label>
        </div>
        <div class="right">
            <asp:Label ID="lbGiftOrder" runat="server" Text="房间号: "></asp:Label>
            <asp:TextBox ID="txtOrderID" multinumber runat="server"  CssClass="txt" style="width: 113px;" ></asp:TextBox>
            <asp:Button  ID="btnSearch" runat="server" Text="查询" OnClick="SearchValue"/>
            <asp:Label ID="lblShow" runat="server" Text="显示:"></asp:Label>
            <asp:DropDownList ID="drpPagerSize" AutoPostBack="true" runat="server" OnSelectedIndexChanged="drpPagerSize_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
    </div>
    <asp:ListView ID="lvNews" runat="server" EnableViewState="true" EnableModelValidation="True">
        <LayoutTemplate>
            <div id="list">
                <table id="lvList" cellpadding="0" cellspacing="0" border="0" width="100%">
                    <tr>
                        <th class="sp">
                            &nbsp;
                        </th>
                        <th>
                            房间ID
                        </th>
                        <th>
                            房间名
                        </th>
                        <th>
                            桌子ID
                        </th>
                        <th>
                            动物游戏编号
                        </th>
                        <th>
                            积分数目
                        </th>
                        <th>
                            动物开奖信息
                        </th>
                        <th>
                            庄编号
                        </th>
                        <th>
                            庄积分
                        </th>
                        <th>
                            庄开奖信息
                        </th>
                        <th>
                            时间
                        </th>
                    </tr>
                    <tbody>
                        <asp:PlaceHolder ID="itemPlaceholder" runat="server" />
                    </tbody>
                </table>
            </div>
        </LayoutTemplate>
        <AlternatingItemTemplate>
            <tr>
                <td class="sp">
                    &nbsp;
                </td>
                <td>
                    <%# Eval("RoomID")%>
                </td>
                <td>
                    <%# Eval("RoomName")%>
                </td>
                <td>
                    <%# Eval("TableID")%>
                </td>
                <td>
                   第<%# Eval("AnimalBigTimes")%>盘,第<%# Eval("AnimalSmallTimes") %>局
                </td>
                <td>
                    <%# Eval("AnimalSysScore")%>
                </td>
                <td>
                     <%#  GetPrizeInfor(Eval("AnimalType"), Eval("AnimalColor"), Eval("AnimalMode"), Eval("AnimalFlag"), Eval("AnimalInfoEx"))%>
                </td>
                <td>
                   第<%# Eval("EnjonyGameBigTimes")%>盘,第<%# Eval("EnjonyGameSamllTimes")%>局
                </td>
                 <td>
                    <%# Eval("EnjonyGameSysScore")%>
                </td>
                   <td>
                    <%# GetEnjoyGameNameByID(Eval("EnjoyGameType"))%>
                </td>
                 <td>
                    <%# Eval("Activetime")%>
                </td>
            </tr>
        </AlternatingItemTemplate>
        <EmptyDataTemplate>
            <table id="Table2" runat="server">
                <tr>
                    <td>
                        没有记录.
                    </td>
                </tr>
            </table>
        </EmptyDataTemplate>
        <ItemTemplate>
            <tr>
                 <td class="sp">
                    &nbsp;
                </td>
                <td>
                    <%# Eval("RoomID")%>
                </td>
                <td>
                    <%# Eval("RoomName")%>
                </td>
                <td>
                    <%# Eval("TableID")%>
                </td>
                <td>
                   第<%# Eval("AnimalBigTimes")%>盘,第<%# Eval("AnimalSmallTimes") %>局
                </td>
                <td>
                    <%# Eval("AnimalSysScore")%>
                </td>
                <td>
                     <%#  GetPrizeInfor(Eval("AnimalType"), Eval("AnimalColor"), Eval("AnimalMode"), Eval("AnimalFlag"), Eval("AnimalInfoEx"))%>
                </td>
                <td>
                   第<%# Eval("EnjonyGameBigTimes")%>盘,第<%# Eval("EnjonyGameSamllTimes")%>局
                </td>
                 <td>
                    <%# Eval("EnjonyGameSysScore")%>
                </td>
                   <td>
                    <%# GetEnjoyGameNameByID(Eval("EnjoyGameType"))%>
                </td>
                 <td>
                    <%# Eval("Activetime")%>
                </td>
            </tr>
        </ItemTemplate>
    </asp:ListView>
    <div id="foot">
        <div class="foot_left">
        </div>
        <div class="foot_right">
            <uc1:Pagination ID="usPager" runat="server" />
        </div>
    </div>
     <div style="text-align: center; margin-top: 30px;">
        <asp:Button runat="server" ID="Button1" CausesValidation="False" Text="返回" CssClass="buttoncss"
            OnClick="CancelSave" />
    </div>
</asp:Content>